package cn.edu.ujn.park.service;

import cn.edu.ujn.park.dao.ParkingRecord;
import cn.edu.ujn.park.dao.ParkingSpace;
import cn.edu.ujn.util.Page;

import java.util.List;

public interface IParkingRecord {
    int deleteByPrimaryKey(Integer recordId);

    int insert(ParkingRecord row);

    int insertSelective(ParkingRecord row);

    ParkingRecord selectByPrimaryKey(Integer recordId);

    int updateByPrimaryKeySelective(ParkingRecord row);

    int updateByPrimaryKey(ParkingRecord row);

    Page<ParkingRecord> selectAll(ParkingRecord parkingRecord);

    Integer selectCount();

    List<ParkingRecord> selectByName(String vehicleName);
}
